public class HardDisk{
	int amount;
	HardDisk(){}
	HardDisk(int m){
		this.amount=m;
	}
	void setAmount(int m){
		this.amount=m;
	}
	int getAmount(){
		return amount;
	}
	public String toString(){  
		return "Amount:"+amount;   
	}
	public boolean equals(Object object){  
		if(object==null){        
			return false;  
		}  
		if(this==object){ 
			return true; 
		}  
		if(object instanceof HardDisk){  
			HardDisk s = (HardDisk)object;    
			return this.amount==s.amount;  
		}  
		return false; 
	}

}
